package org.example.service.impl;

import org.example.mapper.SoundMapper;
import org.example.pojo.Sound;
import org.example.service.SoundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SoundServiceImpl implements SoundService {

    @Autowired
    private SoundMapper soundMapper;

    @Override
    public List<Sound> getSounds() {
        return soundMapper.selectAll();
    }
} 